body {
  margin: 0;
  padding: 0;
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

html {
  height: 100%;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.theme-color {
  color: $--color-primary;
}

.f-primary {
  color: $--color-primary;
}
.f-success {
  color: $--color-success
}
.f-warning {
  color: $--color-warning
}
.f-danger {
  color: $--color-danger
}
.f-info {
  color: $--color-info
}

.f-vip {
  color: #FF9800;
}

.overflow-ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.select-with-icon {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  &.icon-medium {
    padding-right: 24px;
    .with-icon {
      position: absolute;
      right: 0;
      top: 6px;
      font-size: 20px;
      vertical-align: middle;
    }
  }
}

.full-width-tagview {
  position: absolute;
  top: $tagsviewHeight;
  bottom: 0;
  left: 0;
  right: 0;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

.hidden-block {
  overflow: hidden;
}

.main-container {
  background-color: $--background-color-base;
}

.white-wrapper {
  background-color: #fff;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center
}

.is-link {
  cursor: pointer;
}

.is-current-item {
  color: $--color-primary;
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}

.add-or-edit-model, .detail-view {
  background-color: #FFF;
  height: 100%;
  overflow: auto;
}

.dialog-view {
  .form-v1 {
    padding: 0
  }
  .addoredit-form {
    width: 90%;
  }
}

.img-border {
  border: 1px solid #eee;
  padding: 5px;
  margin-right: 30px;
  display: inline-block;
  img {
    max-width: 82px;
    max-height: 82px;
    display: block;
  }
}

.img-list {
  img {
    margin-right: 16px;
    width: 50px;
    height: 60px;
  }
}

.file-list {
  .file-item {
    display: block;
    cursor: pointer;
    color: $--color-primary;
    &:hover {
      text-decoration: underline;
    }
  }
}

.tips-right {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  font-size: 0;
  &> * {
    vertical-align: middle;
  }
  &:after {
    content: '';
    vertical-align: middle;
    display: inline-block;
    width: 0;
    height: 100%;
  }
}